/*chat*/
.nav p:first-of-type img{
	transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform:rotate(180deg);
}
.nav>img{
	width: 24px;
	height: 24px;
	float: right;
	margin-right: 11px;
	margin-top: 12px;
}
.char_content>p:first-of-type{
	width: 88%;
	height: auto;
	background: #aaa;
	color: #fff;
	font-size: 13px;
	margin: 10px auto 0px;
	line-height: 1.6;
	padding: 10px;
	border-radius: 5px;
}
.char_content>p:nth-of-type(2){
	text-align: center;
	font-size: 10px;
	color: #999;
	margin-top: 16px;
}
.char_content .char_content_line1:not(:first-of-type){
	margin-top: 10px;
}
.char_content .char_content_line1 img:first-of-type{
	float: right;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	margin-right: 10px;
	margin-top: 6px;
}
.char_content .char_content_line1 img:nth-of-type(2){
	float: right;
    margin-left: -21px;
    margin-top: 5px;
    width: 20px;
    height: 10px;
}
.char_content .char_content_line1 p:first-of-type{
	float: right;
	width: 38%;
	height: auto;
	background: #ff6960;
	color: #fff;
	margin-top: 14px;
	margin-right: 4px;
	line-height: 1.4;
	padding: 10px;
	border-radius: 10px;
}
.char_content .char_content_line2{
	clear: both;
}
.char_content .char_content_line2 img:first-of-type{
	float: left;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	margin-left: 10px;
	margin-top: 15px;
}
.char_content .char_content_line2 img:nth-of-type(2){
	float: left;
	margin-top: 12px;
	margin-left: 0px;
	width: 20px;
	height: 10px;
}
.char_content .char_content_line2 p{
	clear: left;
    float: left;
    margin-top: -41px;
    margin-left: 60px;
    background: #eee;
    color: #666;
    font-size: 14px;
    padding: 10px 15px;
    height: auto;
    max-width: 70%;
    white-space: normal;
	word-break: break-all;
}
.char_content .char_content_line2:last-child p{
	margin-bottom: 50px;
}
.char_content p:nth-of-type(3){
	text-align: center;
	font-size: 10px;
	color: #999;
	clear: both;
	position: relative;
	top: 12px;
	bottom: 18px;
}
/*chat bottom*/
.chat_bottom{
	position: fixed;
	width: 100%;
	height: 50px;
	border-top: 1px solid #c9c9c9;
	left: 0px;
	bottom: 0px;
	background: #fff;
}
.chat_bottom img:first-of-type,.chat_bottom img:nth-of-type(2),.chat_bottom img:nth-of-type(3){
	width: 32px;
	height: 32px;
	float: left;
	margin-top: 9px;
	margin-left: 10px;
}
.chat_bottom input{
	width: 60%;
	height: 30px;
	border: 1px solid #c9c9c9;
	float: left;
	margin-top: 10px;
	margin-left: 12px;
}
.chat_bottom i{
	display: inline-block;
	width: 7px;
	height: 7px;
	background: #ff0000;
	border-radius: 50%;
	margin-left: -8px;
	margin-top:11px;
	float: left;
}
@media screen and (device-width:320px) and (device-height:568px) and (-webkit-min-device-pixel-ratio:2) {
	.chat_bottom input{
		width:54% ;
	}
}
